Download OpenAPI specification:
PHPR API USING API-PLATFORM
Creates a invoices resource.
| id required | string invoices identifier |
The new invoices resource
| timestamp | string <date-time> |
| fetchedTaxes | Array of strings |
| taxes | Array of strings <iri-reference> [ items <iri-reference > ] |
| date required | string <date-time> |
| deliveryDate | string <date-time> |
| client required | string <iri-reference> Get client. |
| coordinate | string or null <iri-reference> Get coordinate |
| project | string or null <iri-reference> Get project. |
| employee required | string <iri-reference> Get employe. |
| distributionType required | string <iri-reference> |
| type required | string <iri-reference> |
| status required | string <iri-reference> |
| notes | string or null |
| conditions | string or null |
| payments | Array of strings <iri-reference> [ items <iri-reference > ] |
| lines | Array of strings <iri-reference> [ items <iri-reference > ] Get Lines |
| inventoryEntries | Array of strings <iri-reference> [ items <iri-reference > ] |
| chargedBillLines | Array of strings <iri-reference> [ items <iri-reference > ] |
| chargedRents | Array of strings <iri-reference> [ items <iri-reference > ] |
| chargedTimesheets | Array of strings <iri-reference> [ items <iri-reference > ] |
| chargedAllowances | Array of strings <iri-reference> [ items <iri-reference > ] |
| followups | Array of strings <iri-reference> [ items <iri-reference > ] Get Followups |
| owningCorporation | string <iri-reference> |
| clientRef | string or null |
| shipments | Array of strings <iri-reference> [ items <iri-reference > ] |
| batches | Array of strings <iri-reference> [ items <iri-reference > ] |
| autoEmail | boolean |
| autoInterests | boolean |
| currency | string <iri-reference> |
| conversionRate | string Default: 1 |
| deletedAt | string or null <date-time> |
| slug required | string DB Identifier |
| customProperties | any Can contain anything (array, objects, nested objects...). |
| customData | Array of strings or null |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
| disabledAt | string or null <date-time> |
object (Collection.jsonld) | |
| upload_filename | string |
| upload_subfolder | string |
| upload_file | string |
| upload_file_link | string |
| image | string <iri-reference> |
| currentTaxes | Array of strings Used by lineToolBox |
| employe | integer Get employe. |
| upload_Subfolder | string |
| upload_File | string |
| upload_File_Link | string |
{- "timestamp": "2019-08-24T14:15:22Z",
- "fetchedTaxes": [
- "string"
], - "date": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "conditions": "string",
- "clientRef": "string",
- "autoEmail": true,
- "autoInterests": true,
- "conversionRate": 1,
- "deletedAt": "2019-08-24T14:15:22Z",
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "entityFiles": { },
- "upload_filename": "string",
- "upload_subfolder": "string",
- "upload_file": "string",
- "upload_file_link": "string",
- "currentTaxes": [
- "string"
], - "employe": 0,
- "upload_Subfolder": "string",
- "upload_File": "string",
- "upload_File_Link": "string"
}{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "date": "2019-08-24T14:15:22Z",
- "deliveryDate": "2019-08-24T14:15:22Z",
- "client": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "C",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "coordinate": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CR",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "project": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "W",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "translationTitlePropertyName": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "employee": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "E",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "distributionType": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "IDT",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "type": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "ITY",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "status": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "IS",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "notes": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "notes": "string",
- "conditions": "string",
- "payments": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "IP",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "chargedBillLines": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "BL",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "uniqueId": "string",
- "toString": "string",
- "anonymousToken": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "chargedRents": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "RE",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "chargedTimesheets": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "TS",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "chargedAllowances": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "TSA",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "followups": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "V",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "root": 0,
- "lvl": 0,
- "lft": 0,
- "rgt": 0,
- "toString": "string",
- "childrenListing": "string",
- "leaf": true,
- "leafApi": true,
- "levelApi": 0,
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "owningCorporation": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "CO",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "clientRef": "string",
- "shipments": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "shortcode": "S",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "batches": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "deletedAt": "2019-08-24T14:15:22Z",
- "shortcode": "L",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}
], - "autoEmail": true,
- "autoInterests": true,
- "currency": {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "notes": "string",
- "shortcode": "CU",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "number": "string",
- "priority": 0,
- "color": "string",
- "icon": "string",
- "parameterTitle": "string",
- "toString": "string",
- "translationDescriptionPropertyName": "string",
- "anonymousToken": "string",
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}, - "conversionRate": 1,
- "shortcode": "I",
- "deletedAt": "2019-08-24T14:15:22Z",
- "id": 0,
- "slug": "string",
- "customProperties": null,
- "customData": [
- "string"
], - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "disabledAt": "2019-08-24T14:15:22Z",
- "toString": "string",
- "total": 0,
- "invoiceTotal": null,
- "invoiceTotalPaid": 0,
- "invoiceTaxesCount": 0,
- "invoiceTotalToPay": "string",
- "invoiceTotalToPayWithoutTaxes": 0,
- "invoiceSubTotal": 0,
- "invoiceConvertedSubTotal": 0,
- "invoiceConvertedTotal": 0,
- "invoiceConvertedTaxesAmount": 0,
- "invoiceProductSubTotal": 0,
- "invoiceConvertedProductSubtotal": 0,
- "invoiceItemsQuantity": 0,
- "invoiceTotalInventoryQuantity": 0,
- "invoiceNbProducts": 0,
- "anonymousToken": "string",
- "taxesListing": "string",
- "linesListing": "string",
- "inventoryEntriesListing": "string",
- "paymentsListing": "string",
- "followupsListing": "string",
- "shipmentsListing": "string",
- "batchesListing": "string",
- "baseTransactionValuedInventory": [
- "string"
], - "accountable": true,
- "uniqueId": "string",
- "taggingListing": "string",
- "enabled": true,
- "disabled": true
}